import Vue from 'vue';
import App from './App.vue';
import router from './router';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css'; // 引入 Ant Design Vue 的样式文件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios';
import {
	DatePicker
} from 'ant-design-vue';
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false;

axios.defaults.baseURL = 'http://192.168.2.99:9090/mall/';
axios.defaults.withCredentials = false;

Vue.use(Antd); // 注册 Ant Design Vue 插件
Vue.use(DatePicker);
Vue.prototype.$axios = axios;
Vue.use(ElementUI);

new Vue({
	router,
	render: h => h(App)
}).$mount('#app');